﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace MyWebServer
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void button_start_Click(object sender, EventArgs e)
        {
            Server server = new Server("172.27.66.37", 0605);
            //Server server = new Server("127.0.0.1", 0605);
            server.Start();
        }

        private void button_GETMySQL_Click(object sender, EventArgs e)
        {
            MySQLManager.UseIDfindusername(3);
            MySQLManager.UseIDfindDiamond(3);
            MySQLManager.UseIDfindCoin(3);
            MySQLManager.UseIDfindsex(3);
        }
    }
}
